package com.ciei.dpagm.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * 通用是或否枚举类
 * @author wangyan
 * @date 2022/11/13
 **/
public enum IsNotEnum {
    /**
     * 否
     */
    NOT (0,"否"),

    /**
     * 是
     */
    IS(1,"是");
    /**
     * id
     */
    @EnumValue
    private Integer id;
    /**
     * 状态描述
     */
    private String description;

    IsNotEnum(Integer id, String description) {
        this.id = id;
        this.description = description;
    }

    public Integer getId() {
        return id;
    }

    public String getDescription() {
        return description;
    }
}
